package com.pingan.pastry.service;

import com.pingan.pastry.common.annotation.Fn;
import com.pingan.pastry.common.annotation.Param;
import com.pingan.pastry.common.annotation.Svc;
import com.pingan.pastry.entity.User;

import java.util.List;

@Svc("/test")
public interface TestService {

    @Fn("/list")
    List<User> list(@Param("id") String id, @Param("age") int age);
}
